Legal Concepts and Rights2023

"The law of contract is not the whole law of agreements, nor is it the whole law of obligations. It is the law of those agreements which create obligations, and those obligations which have their source in agreement" - Salmond. Critically examine this statement?