src/Foundation/Application.php
/**
	 * Gets the decoded composer.lock object for the application.
	 *
	 * @return object
	 */
Gets the decoded composer.lock object for the application.
@return object
Gets the decoded composer . lock object for the application . @return object
public static function lock() {
		if (is_null(static::$composerLock)) {
			if (is_file($path = Path::resolve(static::paths()->vendor(), '../composer.lock'))) {
				static::$composerLock = json_decode(file_get_contents($path));
			}
		}
		return static::$composerLock;
	}
public static function lock ( ) { if ( is_null ( static :: $ composerLock ) ) { if ( is_file ( $ path = Path :: resolve ( static :: paths ( ) -> vendor ( ) , '../composer.lock' ) ) ) { static :: $ composerLock = json_decode ( file_get_contents ( $ path ) ) ; } } return static :: $ composerLock ; }
Gets the decoded composer.lock object for the application.
Gets the decoded composer . lock object for the application .